package com.sanyue.reflect;

/**
 * @author sanyue
 * @version 1.0
 * @description: TODO
 * @date 2022/1/27 下午8:19
 */

public class TargetObject {
    private String value;

    public TargetObject() {
        value = "sanyue";
    }

    public void publicMethod(String s) {
        System.out.println("I love " + s);
    }

    private void privateMethod() {
        System.out.println("value is " + value);
    }
}
